package org.halk.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import org.halk.entity.User;
import org.halk.mapper.TestMapper;
import org.halk.service.StrategyService;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;
import java.util.List;

@Component
public abstract class StrategyAbstractService implements StrategyService {

    @Resource
    private TestMapper testMapper;

    protected List<User> getAllUser(String projectId) {
        System.out.println("projectId:" + projectId);
        return this.testMapper.selectList(new QueryWrapper<>());
    }
}
